<?php
/**
 * Created by PhpStorm.
 * User: Short Perton
 * Date: 2016/8/30
 * Time: 10:22
 */

use Phalcon\Loader;

$loader = new Loader();

$loader->registerNamespaces([
    'sw\client' => ROOT_DIR . 'app/extension/client',
    'sw\server' => ROOT_DIR . 'app/extension/server',
    'sw\utils' => ROOT_DIR . 'app/extension/utils',
    'sw\controller' => ROOT_DIR . 'app/controllers',
    'sw\model' => ROOT_DIR . 'app/models',
]);

$loader->register();